package com.yinshu.teleshield.domain.vo.user;

import com.yinshu.teleshield.tkbase.utils.verify.Verify;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@Schema(description = "登录VO")
public class LoginVO implements Serializable, Verify {
    private static final long serialVersionUID = 2896888386092181849L;
    @Schema(description = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String phone;
    @Schema(description = "租户id")
    private String tenantId;
}
